<form name="form_admin" method="post" action="<?php echo formAction('updatestatus')?>">	
<table width="100%" border="0" cellpadding="0" cellspacing="1" id="tblsort">
    <tr class="headtb">
		<td width="1%"><?php echo inputCheckAll()?></td>
		<td width="15%"><?php echo getLang('Name Customer')?></td>
        <td width="15%"><?php echo getLang('Email')?></td>
		<td width="15%"><?php echo getLang('Subject')?></td>
		<td width="15%" ><?php echo getLang('Date Post')?></td>
        <td width="5%" ><?echo getLang('Status')?></td>
   		 <td width="10%"><?echo getLang('Actions')?></td>
	</tr>
	<?php
	foreach($contacts as $i=>$contact)
	{
	?>
		<tr>
			<td>
			    <?php echo inputCheck($contact['iId'])?>
                <input type="hidden" name="listid[]" value="<?php echo $contact['iId']?>" />
			</td>
            <td><?php echo $contact['cName']?></td>
            <td><?php echo $contact['cEmail']?></td>
			<td style="padding-left:10px" nowrap="nowrap">
    			<a href="#Info" onclick="showhide('FeedBackInfo_<?php echo $contact["iId"]?>');">
    				<?php echo $contact['cTitle']?>
    			</a>
    		</td>
            <td align="center">
    			<?php echo  $contact["dPostDate"]?>
    		</td>
    		<td align="center">
    			<select name="liststatus[]">
    			<?php echo liststatus($contact["iStatus"]) ?>
    			</select>
    		</td>
    		<td align="center">
    		      <?php echo linkAction('delete',getLang('delete'),'id='.$contact['iId'])?>
    		</td>		          
		</tr>
		<tr nodrag="true" nodrop="true" id="FeedBackInfo_<?php echo $contact["iId"]?>" style="display: none;">
		  <td colspan="6" style="border: 1px solid #232323;padding:15px;border-top:0px">
                <?php echo $contact['cDescription']?></td>
		</tr>
   <?
   }
   if(count($contacts)==0)
   {
    ?>
        <tr>
            <td colspan="6" style="color: red;" align="center"><?php echo getLang('Not found feedbacks')?></td>
        </tr>
    <?
   }
   ?>
</table>
</form>